<section class="wrapper site-min-height" xmlns:th="http://www.w3.org/1999/xhtml">
    <h3><i class="fa fa-angle-right"></i> 通知管理</h3>
    <div class="row mt">
        <div class="col-md-12">
            <div class="content-panel">
                <table class="table table-striped table-advance table-hover">
                    <thead>
                    <tr>
                        <th>编号</th>
                        <th>考试名称</th>
                        <th>考试时间</th>
                        <th>创建人</th>
                        <th>操作</th>
                    </tr>
                    </thead>
                    <tbody>
                    <!--循环显示题目-->
                    <tr th:each="exam:${views}">
                        <td th:text="${exam.id}"></td>
                        <td th:text="${exam.name}"></td>
                        <td th:text="${exam.time}"></td>
                        <td th:text="${exam.author}"></td>
                        <td>
                            <button class="btn btn-danger btn-xs" th:onclick="'javascript:removeExam('+${exam.id}+')'"><i class="fa fa-trash-o "></i></button>
                        </td>
                    </tr>
                    <!--添加通知-->
                    <tr>
                        <th>{编号}</th>
                        <th>{考试名称}</th>
                        <th>{考试时间}</th>
                        <th>{创建人}</th>
                        <td>
                            <button class="btn btn-success btn-xs" th:onclick="'javascript:addExamPage()'"><i class="fa fa-plus"></i></button>
                        </td>
                    </tr>
                    </tbody>
                </table>
            </div><!-- /content-panel -->
        </div><!-- /col-md-12 -->
    </div><!-- /row -->
</section>